package com.group01.dto.Order;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @Description 订单配送信息DTO
 * @Author 翟玉龙
 * @Date 2024/6/22
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class OrderDeliveryDTO {

    /**
     * 订单编号
     */
    @NotEmpty(message = "订单编号不能为空")
    private String orderId;

    /**
     * 快递单号
     */
    @NotEmpty(message = "快递单号不能为空")
    private Integer trackingNumber;

    /**
     * 配送方式
     */
    @NotEmpty(message = "配送方式不能为空")
    private String distributionMode;

}
